package com.zn.mapper;

import com.zn.entity.AppInformation;
import com.zn.web.dto.AppCustomerDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AppInformationMapper {
    int deleteByPrimaryKey(String informationId);

    int insert(AppInformation record);

    int insertSelective(AppInformation record);

    AppInformation selectByPrimaryKey(String informationId);

    int updateByPrimaryKeySelective(AppInformation record);

    int updateByPrimaryKeyWithBLOBs(AppInformation record);

    int updateByPrimaryKey(AppInformation record);

    /**
     * 根据开启状态，是否置顶和排序号正序，修改时间倒序
     * @return
     */
    List<AppInformation> findEffectiveAll(AppCustomerDto record);
}